package com.fqgj.sentry.manage.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.sentry.manage.entity.McApplicationEntity;

import java.util.List;

/**
 * User: ykpbean
 * Date: 2017-07-12
 * Time: 14:21:02.908
 */

public interface McApplicationDao extends BaseMapper<McApplicationEntity> {
    /**
     * 查询  商户 应用集合
     * @param merchantId

     * @return
     */
    List<McApplicationEntity> selectListByMerchantId(Long merchantId);

    /**
     *
     * @param merchantId
     * @param appCode
     * @return
     */
    McApplicationEntity selectByMerchantIdAndAppCode(Long merchantId,String appCode);



}